package OOday02;

public class AnimalTest {
    public static void main(String[] args) {
//        Animal a = new Animal("动物",99,"蓝色");
//        a.eat();
//        a.drink();
//
//        Dog dog = new Dog("狗子",89,"红");
//        dog.eat();
//        dog.drink();
//
//        Chicken chick = new Chicken("小鸡",5,"黄");
//        chick.eat();
//        chick.drink();
//
//        Fish fish = new Fish("小鱼",99,"金");
//        fish.eat();
//        fish.drink();
        B a =new B(1);



    }
}
